package com.acme.task5;

public class TextModifier {

	public static void main(String[] args) {
		if (args.length != 1) {
			System.out.println("Wrong number of arguments");
			return;
		}
		for (int i = 0; i < args[0].length(); ++i) {
			if (!Character.isDigit(args[0].charAt(i))) {
				System.out.print(args[0].charAt(i));
				if (args[0].charAt(i) == '+' || args[0].charAt(i) == '-') {
					System.out.print(args[0].charAt(i));
				}
			}
		}
		System.out.println();
	}

}
